<script type="text/javascript">
head.js('{$path_js}/editor/nicEdit.js');
</script>
<form action="{$base_uri}admin-users/ajax_save_add" method="post"
	onsubmit="return validate_save_content();">
<table border="0" class="tbl-edit">
	<tr>
		<td colspan="4" align="right"><input type="button"
			onclick="closefb();" name="save" value="Lưu & Tạo mới"> <input
			type="submit" name="save" value="Lưu"></td>
	</tr>
	{if isset($msg)}
	<tr>
		<td>&nbsp;</td>
		<td colspan="3">
			<div id="msg"> 
				<span class="edit-{if isset($isError)}error{else}success{/if}">{foreach from=$msg item=m} {$m}<br />{/foreach} 
			</div>
		</td>
	</tr>
	{/if}
	{if isset($rs->cat_id)}
	<tr>
		<td>ID:</td>
		<td colspan="3">{$rs->cat_id}<input type="hidden" name="id"
			value="{$rs->user_id}" /></td>
	</tr>
	{/if}
	<tr>
		<td class="lblEdit">Tên thành viên <em>*</em></td>
		<td class="inputEdit"><input type="text" name="username" id="username"
			value="{if isset($rs->username)}{$rs->username}{/if}" tabindex="1"
			onkeyup="replace_vietnamese('title','alias');" /></td>
		<td class="lblEdit">Mật khẩu <em>*</em></td>
		<td class="inputEdit"><input type="text" name="password" id="password"
			value="" tabindex="1" /></td>
	</tr>
	<tr>
		<td class="lblEdit">Email <em>*</em></td>
		<td class="inputEdit"><input type="text" name="email" id="email"
			value="{if isset($rs->email)}{$rs->email}{/if}" tabindex="1" /></td>
		<td class="lblEdit">Nhâp lại MK <em>*</em></td>
		<td class="inputEdit"><input type="text" name="repassword"
			id="repassword"
			value=""
			tabindex="1" /></td>
	</tr>
	<tr>
		<td class="lblEdit">Hiện</td>
		<td class="inputEdit"><input type="checkbox" {if isset($rs->status) &&
		$rs->status eq 1}checked="checked"{/if} name="status" id="status"
		value="1" tabindex="1" /></td>
		<td class="lblEdit" colspan="2"></td>
	</tr>
</table>
</form>
